package org.example.curriculum_design_6_16.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.curriculum_design_6_16.entity.pojo.RolePermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.example.curriculum_design_6_16.entity.pojo.RolePermissionKey;

/**
* @author 郑凯
* @description 针对表【role_permission】的数据库操作Mapper
* @createDate 2025-06-16 13:21:30
* @Entity org.example.curriculum_design_6_16.entity.pojo.RolePermission
*/
@Mapper
public interface RolePermissionMapper extends BaseMapper<RolePermission> {
    // 自定义复合主键查询方法
    RolePermission selectByCompositeKey(RolePermissionKey key);

    int deleteByCompositeKey(RolePermissionKey key);

    int updateByCompositeKey(RolePermission record);
}


